<? global $FullUrl, $lg, $articles, $cat1, $cat2, $cat, $plpage; ?>

<div class="frame">
  <div class="right-header">
    <h2>
      <?=(isset($_GET['cat1']) ? GetNameFromCat($_GET['cat1']):($act == 'payment'?'Hướng Dẫn Thanh Toán': ($act == 'add' ?'Thông tin đặt phòng': '')))?>
    </h2>
  </div>
  <div class="content">
  	<? if ($articles) { ?>
    <ul class="list-item">
    	<? for ($i=0; $i<count($articles); $i++) { 
			$art = $articles[$i];
			$img = GetImage($art['img']);
            $link = GetProductLink2($art, $lg); 
		?>
      <li>
        <p class="list-item-img"><a href="<?=$link?>" title="<?=$art["name_$lg"]?>"><img src="<?=$FullUrl.'/'.$img?>" alt="<?=$art["unique_key_$lg"]?>" width="221" height="165" /></a></p>
        <div class="list-item-intro">
          <h4><a href="<?=$link?>"><?=$art["name_$lg"]?></a></h4>
          <p class="short"><?=$art["short_$lg"]?></p>
        </div>
      </li>
      	<? } ?>
    </ul>
	<?=$plpage?>
    <? } else 
		echo '<div style="font-weight:bold; text-align:center; padding:30px; margin:0 auto; ">'.NO_NEWS.'</div>';
	?>
  </div>
</div>
